Module-level declarations
Types
Link copied to clipboard
object collateral_config
Link copied to clipboard
struct collateralized_item_dto
Link copied to clipboard
entity last_collateral_operation
Link copied to clipboard
struct module_args
Link copied to clipboard
entity opted_in_asset
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function recover_collateralized(prototype: text, requested_amount: integer, current_balance: integer, account_id: byte_array)
Link copied to clipboard
Queries
Link copied to clipboard
@mount("collateral.get_all_users_collateralized")
query get_all_users_collateralized(cursor: page_cursor): page
Link copied to clipboard
@mount("collateral.get_asset_collateral_amounts")
query get_asset_collateral_amounts(): list<(name: text, collateral_amount: integer)>
Link copied to clipboard
@mount("collateral.get_collateral_burn_fee_percentage")
query get_collateral_burn_fee_percentage(): integer
Link copied to clipboard
@mount("collateral.get_my_collateralized")
query get_my_collateralized(eth_address: text, cursor: page_cursor): page
Link copied to clipboard
Link copied to clipboard
Operations
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@mount("collateral.opt_items_in_for_staking")
operation opt_items_in_for_staking(items: map<text, integer>, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("collateral.opt_items_out_from_staking")
operation opt_items_out_from_staking(items: map<text, integer>, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("collateral.set_collateral_amount")
operation set_collateral_amount(name: text, amount: integer)
Link copied to clipboard
@mount("collateral.set_collateral_burn_fee_percentage")
operation set_collateral_burn_fee_percentage(fee: integer)
Link copied to clipboard
@mount("collateral.set_rate_limit_in_millis")
operation set_rate_limit_in_millis(timestamp: integer)